package cn.com.lms.business.exam.persistence.entity;


import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;

@Getter
@Setter
@Entity
@Table(name = "bnz_exam_question")
@Schema(description="题库")
public class Question extends BaseEntity {


  @Schema(description="题库名称")
  @Column(name = "question_name")
  private String questionName;

  @Schema(description="所属分类ID")
  @Column(name = "category_id")
  private Long categoryId;

  @Schema(description="是否私密试卷 0-否  1-是")
  @Column(name = "is_private")
  private Boolean isPrivate;


  @Schema(description="是否删除  0-未删除 1-已删除")
  @Column(name = "is_delete")
  private Boolean isDelete;





}
